[USER (data scientist)]: Great, now I need to apply One-Hot Encoding to the 'credit_history' column. Can you help me with that? Please generate a DataFrame with one-hot encoded features for clustering.
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd 
import pickle
from decision_company import read_csv_file, 

# please import the necessary private functions from decision_company first

# Load the dataset 
credit_customers = read_csv_file("credit_customers.csv") 
 
# YOUR SOLUTION BEGIN:
<code1>
[COMPLETE YOUR CODE] 
</code1>
# YOUR SOLUTION END

print("data_for_clustering:\n", data_for_clustering) 

# save data
pickle.dump(data_for_clustering,open("./pred_result/data_for_clustering.pkl","wb"))

---END CODE TEMPLATE---

[YOU (AI assistant)]: Sure, here's the code to apply One-Hot Encoding to the 'credit_history' column:
'''
import pandas as pd 
import pickle
from decision_company import read_csv_file, 

# please import the necessary private functions from decision_company first

# Load the dataset 
credit_customers = read_csv_file("credit_customers.csv") 
 
# YOUR SOLUTION BEGIN:
